package com.nervenets.template.controller.role.params;

import com.nervenets.general.web.params.EntityPagingParams;
import com.nervenets.template.hibernate.domain.user.RoleGroup;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import java.util.List;

@Setter
@Getter
@SuperBuilder
@AllArgsConstructor
public class RoleGroupPagingParams extends EntityPagingParams<RoleGroup> {
    @Override
    public void generateSpecification(List<Predicate> predicates, Root<RoleGroup> root, CriteriaQuery<?> query, CriteriaBuilder builder) {

    }
}
